:root {
  --primary-color: #6a11cb;
  --secondary-color: #2575fc;
  --accent-color: #ff9f43;
  --gold-accent: #FFD700;
  --platinum: #E5E4E2;
  --dark-bg: #0f0f1a;
  --darker-bg: #0a0a12;
  --text-color: #f0f0f0;
  --text-muted: rgba(240, 240, 240, 0.7);
  --glass-bg: rgba(15, 15, 26, 0.6);
  --glass-border: rgba(255, 255, 255, 0.1);
  --neon-shadow: 0 0 10px rgba(106, 17, 203, 0.7);
}

body {
  font-family: 'Vazir', 'Segoe UI', sans-serif;
  background: var(--dark-bg);
  color: var(--text-color);
  line-height: 1.8;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(106, 17, 203, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(37, 117, 252, 0.15) 0%, transparent 40%);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.3;
}

h1 {
  font-size: 3.5rem;
  background: linear-gradient(135deg, #fff, var(--platinum));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

h2 {
  font-size: 2.8rem;
  position: relative;
  display: inline-block;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  right: 0;
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 3px;
}

p {
  color: var(--text-muted);
  font-size: 1.1rem;
}




.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--darker-bg), var(--dark-bg));
}

.hero-content {
  max-width: 900px;
  padding: 2rem;
  position: relative;
  z-index: 10;
  text-align: center;
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  animation: textGlow 3s ease-in-out infinite alternate;
}

@keyframes textGlow {
  0% {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
  }
  100% {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.6), 
                 0 0 30px rgba(106, 17, 203, 0.4);
  }
}

.hero-content p {
  font-size: 1.3rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  color: var(--platinum);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 2.5rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.1rem;
  box-shadow: 0 10px 30px rgba(106, 17, 203, 0.5);
  position: relative;
  overflow: hidden;
  transition: all 0.5s ease;
  border: none;
  z-index: 1;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: -1;
}

.cta-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(106, 17, 203, 0.7);
}

.cta-button:hover::before {
  opacity: 1;
}

.cta-button i {
  transition: transform 0.3s ease;
}

.cta-button:hover i {
  transform: translateX(5px);
}




.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  margin-top: 4rem;
}

.service-card {
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 2.5rem;
  border: 1px solid var(--glass-border);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(106, 17, 203, 0.1), rgba(37, 117, 252, 0.1));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.service-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.2);
}

.service-card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  color: white;
  font-size: 2.5rem;
  box-shadow: 0 10px 25px rgba(106, 17, 203, 0.4);
  transition: all 0.5s ease;
}

.service-card:hover .card-icon {
  transform: rotateY(180deg) scale(1.1);
  box-shadow: 0 15px 30px rgba(106, 17, 203, 0.6);
}

.service-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--platinum);
  position: relative;
  display: inline-block;
}

.service-card h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: 0;
  width: 50px;
  height: 2px;
  background: var(--gold-accent);
  transition: width 0.5s ease;
}

.service-card:hover h3::after {
  width: 100%;
}

.service-features {
  list-style: none;
  margin: 2rem 0;
  padding: 0;
}

.service-features li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.05rem;
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.service-features li:hover {
  color: var(--text-color);
  transform: translateX(5px);
}

.service-features i {
  color: var(--gold-accent);
  font-size: 1.2rem;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--gold-accent);
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.5s ease;
  padding: 0.5rem 0;
  border-bottom: 1px solid transparent;
}

.read-more:hover {
  color: var(--platinum);
  border-bottom-color: var(--gold-accent);
  transform: translateX(-10px);
}



.process-steps {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 5rem;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  z-index: 0;
  opacity: 0.3;
}

.process-step {
  flex: 1;
  min-width: 200px;
  max-width: 220px;
  text-align: center;
  padding: 3rem 1.5rem;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  z-index: 1;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.process-step:hover {
  transform: translateY(-20px) scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  background: rgba(15, 15, 26, 0.8);
  border-color: rgba(255, 215, 0, 0.3);
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: bold;
  margin: 0 auto 2rem;
  box-shadow: 0 10px 25px rgba(106, 17, 203, 0.4);
  position: relative;
  transition: all 0.5s ease;
}

.process-step:hover .step-number {
  transform: rotate(360deg) scale(1.1);
  box-shadow: 0 15px 30px rgba(106, 17, 203, 0.6);
}

.process-step h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--platinum);
}

.process-step p {
  font-size: 1rem;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.process-step:hover p {
  color: var(--text-color);
}




.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.portfolio-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 300px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  transition: all 0.5s ease;
  z-index: 1;
}

.portfolio-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(15, 15, 26, 0.9), transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.portfolio-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.portfolio-item:hover::before {
  opacity: 1;
}

.portfolio-item:hover img {
  transform: scale(1.1);
}

.portfolio-overlay {
  position: absolute;
  bottom: -100%;
  left: 0;
  width: 100%;
  padding: 2rem;
  color: white;
  transition: bottom 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 2;
}

.portfolio-item:hover .portfolio-overlay {
  bottom: 0;
}

.portfolio-overlay h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: var(--platinum);
}

.portfolio-overlay p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

.portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--gold-accent);
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.5s ease;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid transparent;
}

.portfolio-link:hover {
  color: var(--platinum);
  border-bottom-color: var(--gold-accent);
  transform: translateX(-10px);
}



.contact-cta {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, var(--darker-bg), var(--dark-bg));
  position: relative;
  overflow: hidden;
}

.contact-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.05) 0%, transparent 70%);
  animation: rotateGradient 20s linear infinite;
  z-index: 0;
}

@keyframes rotateGradient {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem;
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  text-align: center;
  position: relative;
  z-index: 1;
  transition: all 0.5s ease;
}

.cta-content:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4),
              inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--platinum);
}

.cta-content p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  color: var(--text-muted);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.3rem 3rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.2rem;
  box-shadow: 0 15px 35px rgba(106, 17, 203, 0.5);
  position: relative;
  overflow: hidden;
  transition: all 0.5s ease;
  border: none;
  z-index: 1;
}

.cta-button::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--gold-accent), var(--accent-color));
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: -1;
}

.cta-button:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 20px 45px rgba(106, 17, 203, 0.7);
}

.cta-button:hover::after {
  opacity: 1;
}

.cta-button i {
  transition: transform 0.5s ease;
}

.cta-button:hover i {
  transform: translateX(10px) rotate(360deg);
}



